package com.company.project.modular.system.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lsf
 * @since 2018-11-08
 */
@TableName("sys_instock")
public class Instock extends Model<Instock> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("standard_code")
    private String standardCode;
    @TableField("standard_in_date")
    private Date standardInDate;
    @TableField("standard_out_date")
    private Date standardOutDate;
    @TableField("standard_in_number")
    private Double standardInNumber;
    @TableField("standard_out_number")
    private Double standardOutNumber;
    @TableField("standard_number")
    private Double standardNumber;
    @TableField("standard_in_frequency")
    private Integer standardInFrequency;
    @TableField("standard_out_frequency")
    private Integer standardOutFrequency;
    @TableField("standard_frequency")
    private Integer standardFrequency;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStandardCode() {
        return standardCode;
    }

    public void setStandardCode(String standardCode) {
        this.standardCode = standardCode;
    }

    public Date getStandardInDate() {
        return standardInDate;
    }

    public void setStandardInDate(Date standardInDate) {
        this.standardInDate = standardInDate;
    }

    public Date getStandardOutDate() {
        return standardOutDate;
    }

    public void setStandardOutDate(Date standardOutDate) {
        this.standardOutDate = standardOutDate;
    }

    public Double getStandardInNumber() {
        return standardInNumber;
    }

    public void setStandardInNumber(Double standardInNumber) {
        this.standardInNumber = standardInNumber;
    }

    public Double getStandardOutNumber() {
        return standardOutNumber;
    }

    public void setStandardOutNumber(Double standardOutNumber) {
        this.standardOutNumber = standardOutNumber;
    }

    public Double getStandardNumber() {
        return standardNumber;
    }

    public void setStandardNumber(Double standardNumber) {
        this.standardNumber = standardNumber;
    }

    public Integer getStandardInFrequency() {
        return standardInFrequency;
    }

    public void setStandardInFrequency(Integer standardInFrequency) {
        this.standardInFrequency = standardInFrequency;
    }

    public Integer getStandardOutFrequency() {
        return standardOutFrequency;
    }

    public void setStandardOutFrequency(Integer standardOutFrequency) {
        this.standardOutFrequency = standardOutFrequency;
    }
    public Integer getStandardFrequency() {
        return standardFrequency;
    }

    public void setStandardFrequency(Integer standardFrequency) {
        this.standardFrequency = standardFrequency;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Instock{" +
        "id=" + id +
        ", standardCode=" + standardCode +
        ", standardInDate=" + standardInDate +
        ", standardOutDate=" + standardOutDate +
        ", standardInNumber=" + standardInNumber +
        ", standardOutNumber=" + standardOutNumber +
        ", standardNumber=" + standardNumber +
        ", standardInFrequency=" + standardInFrequency +
        ", standardOutFrequency=" + standardOutFrequency +
        ", standardFrequency=" + standardFrequency +
        "}";
    }
}
